package com.seu.clab.farm.model.dao.mapper;

import com.seu.clab.farm.model.dao.entity.Log;
import org.apache.ibatis.annotations.Select;

import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

@Repository
public interface LogMapper extends Mapper<Log> {
    @Select("select * from log limit ${index},20")
    List<Map<String, Object>> getLog(Integer index);

}